/**  
 * Project Name:ofs-service-common  
 * File Name:JdTradeDetails.java  
 * Package Name:com.moxie.cloud.services.ofs.common.jd.dto  
 * Date:2016年6月17日下午2:36:18  
 * Copyright (c) 2016, yuandong@51dojo.com All Rights Reserved.  
 *  
*/  
  
package com.example.service.webhook.business.jingdong.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**  
 * ClassName:JdTradeDetails <br/>  
 * Function: TODO ADD FUNCTION. <br/>  
 * Reason:   TODO ADD REASON. <br/>  
 * Date:     2016年6月17日 下午2:36:18 <br/>  
 * @author   yuandong  
 * @version    
 * @since    JDK 1.6  
 * @see        
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class JdTradeDetails {
	@JsonProperty("mapping_id")
	private String mappingId;
	@JsonProperty("trade_time")
	private Date dealTime;
	@JsonProperty("trade_id")
	private String tradeId;
	@JsonProperty("receiver")
	private String receiver;
	@JsonProperty("receive_address")
	private String receiveAddress;
	private String province;
	private String city;
	@JsonProperty("receive_phone")
	private String receivePhone;
	@JsonProperty("amount")
	private BigDecimal amount;
	@JsonProperty("trade_status")
	private String tradeStatus;
	
	@JsonProperty("products")
	private List<JdProductInfo>  products;

	public String getMappingId() {
		return mappingId;
	}

	public void setMappingId(String mappingId) {
		this.mappingId = mappingId;
	}

	public Date getDealTime() {
		return dealTime;
	}

	public void setDealTime(Date dealTime) {
		this.dealTime = dealTime;
	}

	public String getTradeId() {
		return tradeId;
	}

	public void setTradeId(String tradeId) {
		this.tradeId = tradeId;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getReceiveAddress() {
		return receiveAddress;
	}

	public void setReceiveAddress(String receiveAddress) {
		this.receiveAddress = receiveAddress;
	}

	public String getReceivePhone() {
		return receivePhone;
	}

	public void setReceivePhone(String receivePhone) {
		this.receivePhone = receivePhone;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public List<JdProductInfo> getProducts() {
		return products;
	}

	public void setProducts(List<JdProductInfo> products) {
		this.products = products;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getTradeStatus() {
		return tradeStatus;
	}

	public void setTradeStatus(String tradeStatus) {
		this.tradeStatus = tradeStatus;
	}
	
}
  
